package com.sg.hms.Model;

public class Employee2 {
	private int elId;
	private String elName;
	private String elSex;
	private int elAge;
	private String tellphone;
	private String enterTime;
	private int dId;
	private String salary;
	private String state;
	private String dName;
	public int getElId() {
		return elId;
	}
	public void setElId(int elId) {
		this.elId = elId;
	}
	public String getElName() {
		return elName;
	}
	public void setElName(String elName) {
		this.elName = elName;
	}
	public String getElSex() {
		return elSex;
	}
	public void setElSex(String elSex) {
		this.elSex = elSex;
	}
	public int getElAge() {
		return elAge;
	}
	public void setElAge(int elAge) {
		this.elAge = elAge;
	}
	public String getTellphone() {
		return tellphone;
	}
	public void setTellphone(String tellphone) {
		this.tellphone = tellphone;
	}
	public String getEnterTime() {
		return enterTime;
	}
	public void setEnterTime(String enterTime) {
		this.enterTime = enterTime;
	}
	public int getdId() {
		return dId;
	}
	public void setdId(int dId) {
		this.dId = dId;
	}
	public String getSalary() {
		return salary;
	}
	public void setSalary(String salary) {
		this.salary = salary;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getdName() {
		return dName;
	}
	public void setdName(String dName) {
		this.dName = dName;
	}
	public boolean equals(Object object){
		Employee2 employee = (Employee2) object;
		System.out.println(employee.dName);
		return this.dName.equals(employee.dName);
	}
	
}
